-- GENERATED SPELL FOR [Slain Sha'tar Vindicator] --


function spell0_21859(pUnit, Event) --@Bone Wastes - Summon Draenei Guardian Spirit,Self--
pUnit:FullCastSpellOnTarget(37759,pUnit)
pUnit:RegisterEvent('Sorts_21859', 608, 1)
end

function Sorts_21859(pUnit, Event)
local choix_sorts_21859 = math.random(0, 0)
if choix_sorts_21859 == 0 then
pUnit:RegisterEvent('spell0_21859', 1, 1)
end
end

function mob21859_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21859', math.random(1500, 3000), 1)
end

function mob21859_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21859_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21859_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21859, 1, 'mob21859_Action')
RegisterUnitEvent(21859, 2, 'mob21859_Leave')
RegisterUnitEvent(21859, 3, 'mob21859_Kill')
RegisterUnitEvent(21859, 4, 'mob21859_Die')
